﻿#region
/*******************************************************************************
** File Name:		    IAdminGroupRightService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IAdminGroupRightService 
    {
        #region  Auto Generation
        
        void AddAdminGroupRight(AdminGroupRightModel model );

		void UpdateByAdminGroupRightID (AdminGroupRightModel model );

		void DeleteByAdminGroupRightID (System.Int32 adminGroupRightID );
		 
        AdminGroupRightModel GetByAdminGroupRightID (System.Int32 adminGroupRightID );
        

		#endregion

        AdminGroupRightModel GetByGroupIDAndRightID(int groupID, int rightID);

        IList<AdminGroupRightModel> GetByGroupID(int groupID);

		Dictionary<int, int> GetRightIDs(int groupID);
    }
}